﻿using System;
using StudentWeb.Common;

namespace StudentWeb.Model
{
	/// <summary>
	/// UserData
	/// </summary>
    [Serializable]
	public class UserData
	{
		/// <summary>
		/// UserDataID
        /// </summary>
        [FieldName("UserDataID")]		
		public int UserDataID
		{
			get;
			set;
		}
        
		/// <summary>
		/// UserName
        /// </summary>
        [FieldName("UserName")]		
		public string UserName
		{
			get;
			set;
		}
        
		/// <summary>
		/// PassWord
        /// </summary>
        [FieldName("PassWord")]		
		public string PassWord
		{
			get;
			set;
		}
        
        public UserData Clone()
        {
            return (UserData)this.MemberwiseClone();
        }
        
        public UserData()
        {
            UserName = string.Empty;
            PassWord = string.Empty;
        }
	}
}
